package com.khyr.Dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.khyr.entity.CareOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ：lyk
 * @date ：Created in 2025/3/11 16:27
 * @description：
 * @modified By：
 * @version:
 */
@Mapper
public interface CareOrdersDao extends BaseMapper<CareOrder> {
    List<CareOrder> getCareOrdersByPatientId(String regId);
    List<CareOrder> getChargedCareHistoryByRegId(String regId);
    List<CareOrder> getCareOrderItemByChId(@Param("chId") String chId,@Param("orderStatus") Integer orderStatus);


    CareOrder selectByChId(String chId);
}
